add two numbers as string in php

115

$num = "3.14";
$int = (int)$num;
$float = (float)$num;

Comments

Submit
0 Comments